package com.mes.service.hpf;

import java.util.List;

import com.mes.entity.hpf.SaleReconciliation;
import com.mes.entity.yzl.Condition;
import com.mes.entity.yzl.Reconciliation;
import com.mes.entity.yzlExtend.ExtendProductor;

import net.sf.json.JSONArray;

public interface SaleReconciliationService {

	int reconciliationCount(Condition condition);
	
	List<SaleReconciliation> reconciliationPageList(Condition condition);
	
	List<ExtendProductor> reconciliationXQ(Condition condition);
	
	Reconciliation findByDateMonth(Reconciliation reconciliation);
	
	int addReconciliation(Reconciliation reconciliation);
	
	int resetReconciliation(Reconciliation reconciliation);
	
	int reconciliationAllCount(Condition condition);
	
	List<Reconciliation> reconciliationAllPageList(Condition condition);
	
	int updateReconciliation(JSONArray jsonArray) throws Exception;
	
}
